package com.ztgf.shopping.models.bo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 店铺表注册审核列表查询BO
 *
 * @author zhanghualang
 * @Date 2020-06-17 14:35:39
 */
@Data
public class ShopInfoAuditBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "店铺ID")
    private String shopId;
    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "类型 0营业执照，1法人身份证，2开户许可证，3商标注册证书，4续展证明文件，5ISO认证书，6品牌授权书")
    private Integer type;

    @ApiModelProperty(value = "审核状态 0审核中，1审核通过，2审核打回，3审核不通过,4重新提交")
    private Integer status;

    @ApiModelProperty(value = "审核类型 0注册， 1开店，2资质变更，3新增品牌，4新增品牌类目，5店铺变更")
    private Integer auditType;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邀请码")
    private String invitationCode;

    @ApiModelProperty("开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty("结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
}
